 
#ifndef MOD_ETP_H
#define MOD_ETP_H

//#include "stdafx.h"
using namespace std;


class Mod_ETP:public Mod_out_handling
{
    protected:
    
    
    

    // in file declaration: ETP[mm]
    //virtual double calc(unsigned int i)=0;
    virtual int compute (time_intervall &ti);
    public:
    Mod_ETP(Mod_in *iinp);
    ~Mod_ETP();


};


class Mod_ETP_Turc: public Mod_ETP
{
protected:
public:
map <string,int> IO_options;
Inp_weather *inp_weather;    
Mod_Interception *mod_interception;
Mod_Crop  *mod_crop;
Mod_wc *mod_wc;
Mod_Surface_water *mod_Surface_water;
Mod_Snow *mod_snow;    

Mod_ETP_Turc(map <string,int> &iIO_options,
						   Mod_in *iinp,
						   Inp_weather *iweather,
                           Mod_Interception *iimod_interception,
                           Mod_Crop *iimod_Crop,
                           Mod_wc *iimod_Wc,
                           Mod_Surface_water *iimod_Surface_water,
                           Mod_Snow *iimod_Snow);    
~Mod_ETP_Turc();
int compute(time_intervall &ti);
int distribute_ETP (double ETP, time_intervall &ti);

};




#endif